package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * 选项表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "option")
public class Option implements Serializable {
    private ObjectId id;  //选项编号
    private ObjectId questionId; //试题编号
    private String option;      //选项
    private Double score;   //得分
}
